﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lucandra.Net.Connection.Pooling;

namespace Lucandra.Net
{
    public static class Status
    {
        public static int ConnectionPoolMin
        {
            get { return CassandraConnectionPool.minConnections; }
        }

        public static int ConnectionPoolMax
        {
            get { return CassandraConnectionPool.maxConnections; }
        }

        public static int ConnectionPoolCurrent
        {
            get { return CassandraConnectionPool.ManagedClientQuantity; }
        }

        public static bool IsConnectionPoolInitialized
        {
            get { return CassandraConnectionPool.isInitialized; }
        }

        public static int ConnectionPoolBorrowed
        {
            get { return CassandraConnectionPool.BorrowedConnectionCount; }
        }

        public static int ConnectionPoolIdle
        {
            get { return CassandraConnectionPool.IdleConnectionCount; }
        }
    }
}
